package com.lemon.soft.bookingroom;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement // 开启事务管理
@EnableScheduling // 开启定时任务
@SpringBootApplication
@MapperScan("com.lemon.soft.bookingroom.dao")
public class BookingroomApplication {

    public static void main(String[] args) {
        SpringApplication.run(BookingroomApplication.class, args);
    }

}
